package br.uniriotec.pm.dao.xstream;

import br.uniriotec.pm.dao.DAOTabelaPrecos;
import br.uniriotec.pm.dao.xstream.exception.XmlAccessException;
import br.uniriotec.pm.domain.TabelaPrecos;

public class XStreamDAOTabelaPrecos extends XStreamDAO<TabelaPrecos> implements DAOTabelaPrecos {

	public XStreamDAOTabelaPrecos() {
		super();
	}

	public XStreamDAOTabelaPrecos(String caminhoArquivoXml) throws XmlAccessException {
		super(caminhoArquivoXml);
	}

	@Override
	public TabelaPrecos carregarTabelaPrecos() {
		return carregarXml();
	}
	
	public void gravar(TabelaPrecos tabelaPrecos) {
		gravarXml(tabelaPrecos);
	}
}
